body, td, p{
	color: black;
	font-family: verdana, sans-serif;
}

#header{
	margin-bottom: 1em;
	width: 100%;

	border-bottom: 1px solid black;
	background: #ddd;
}

h1{
	margin: 0px;
	padding: 0px;

	font-size: 1.8em;
}
h2{
	font-size: 1.5em;
	margin-bottom: 1em;
}

ul.menu{
	margin: .5em;
}
.menu li{
	display: inline;
	margin-right: 1em;
}

table td{
	border: 1px solid #ccc;
	padding: .1em .3em;
}

.menubar{
	margin-bottom: 1em;
	padding: .2em;
	width: 100%;
	
	background: #ddd;
}

.records-edit{
	width: 100%;
}
.records-edit td{
	border: 0;
}
.records-edit input.textbox{
	width: 100%;
}

.debug{
	font-size: .9em;
	font-family: monospace;
}
.debug .mysql li{
	white-space: pre;
}

/* message types */

.msg{
	padding: 2px;
	padding-left: 8px;
}

.msg-error{
	border: 2px solid red;
}

.msg-ok{
	border-bottom: 2px solid green;
	border-left: 6px solid green;
}

.msg-warn{
	border-bottom: 2px solid red;
	border-left: 6px solid red;
}

/* basic */

.ralign{
	text-align: right;
}

.calign{
	text-align: center;
}

.red{
	color: red;
}

.hidden{
	display: none;
}

.smallprint{
	font-size: .5em;
}
/* utility */

.clr{
	clear: both;
	height: 0px;
}
